package com.xszx.entity;

public class Goodtype {
    private int gtid;
    private String gtname;

    public Goodtype() {
    }

    public Goodtype(int gtid, String gtname) {
        this.gtid = gtid;
        this.gtname = gtname;
    }

    /**
     * 获取
     * @return gtid
     */
    public int getGtid() {
        return gtid;
    }

    /**
     * 设置
     * @param gtid
     */
    public void setGtid(int gtid) {
        this.gtid = gtid;
    }

    /**
     * 获取
     * @return gtname
     */
    public String getGtname() {
        return gtname;
    }

    /**
     * 设置
     * @param gtname
     */
    public void setGtname(String gtname) {
        this.gtname = gtname;
    }

    public String toString() {
        return "Goodtype{gtid = " + gtid + ", gtname = " + gtname + "}";
    }
}
